package com.gdit.zax.dao;

import java.util.ArrayList;

import com.gdit.zax.entitys.Medal;
import com.gdit.zax.entitys.UserMedal;

/**
 * 勋章接口
 * @author lenovo
 *
 */
public interface MedalDao {
	public ArrayList<UserMedal> listUserMedal(int uid,int page,int onepagecount);
	public ArrayList<Medal> listAllMedal(int page,int onepagecount);
	public boolean addUserMedal(int uid,int mid);//给用户一个勋章
	public boolean delUserMedal(int uid,int mid);//删除用户一个勋章
	public int getUserMedalCount(int uid);//给用户勋章数量
}
